package com.yonyou.isv.demo.openapi.api.orgrangeshare;

import com.yonyou.isv.demo.openapi.base.module.reponse.ApiListDataResponse;
import com.yonyou.isv.demo.openapi.api.BaseOpenApi;
import com.yonyou.isv.demo.openapi.api.OpenApiURL;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @description: 基础数据分级管控
 * @author: nishch
 * @create: 2021-07-29
 **/
@Component
public class OrgRangeShareApi extends BaseOpenApi {

    public List<String> list(Map<String, Object> params) {
        ApiListDataResponse apiDataResponse =  postForEntity(OpenApiURL.ORG_RANGE_SHARE,params, ApiListDataResponse.class);
        return getData(apiDataResponse);
    }
}
